package cn.kgc.smbms.dao;

import cn.kgc.smbms.projo.Provider;

import java.util.List;

public interface ProviderMapper {
    //查询所有
    List<Provider> selectAllProvider();
    //根据ID查询
    Provider selectProviderById(Long id);
    //添加供货商
    int insertProvider(Provider provider);
    //删除供货商
    int deleteProviderById(Long id);
    //更改供货商
    int updateProvider(Provider provider);
}
